constantNames
Type
function
Summary
Returns a list of all built-in constants in LiveCode.
Syntax
the constantNames
constantNames()
Description
Use the constantNames function to check whether a particular constant already exists in LiveCode, to avoid using a reserved word for your own constants and variables.
The constantNames function returns all the constants that are predefined in LiveCode, including synonyms.
Examples
the constantNames
if it is among the lines of the constantNames then askForAnotherName
Related
keyword: line
command: constant
control structure: function
function: propertyNames, functionNames
glossary: constant, LiveCode, variable, return, reserved word
Compatibility and Support
Introduced
LiveCode 2.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile